﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Public
{
    [ServiceContract]
    public interface IService
    {
        [OperationContract]
        string GetMachineName();

        [OperationContract]
        void SendFile(FileWrapper fileWrapper);

        [OperationContract]
        bool CheckFile(string path,string md5);

        [OperationContract]
        Result RunProgram(string path, string arguments);

        [OperationContract]
        Result RunTerminalScript(List<string> scriptLines);

        [OperationContract]
        void KillAllControlledPrograms();
    }
}
